home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / aros / graphics / graphics_intern.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-12  |  1008 b   |  44 lines

  1. #ifndef GRAPHICS_INTERN_H
  2. #define GRAPHICS_INTERN_H
  3. /*
  4.     (C) 1995-96 AROS - The Amiga Replacement OS
  5.     $Id: graphics_intern.h,v 1.3 1996/08/16 14:05:49 digulla Exp $
  6.     $Log: graphics_intern.h,v $
  7.     Revision 1.3  1996/08/16 14:05:49  digulla
  8.     Added #include <graphics/rastport.h>
  9.  
  10.     Revision 1.2  1996/08/13 13:59:42  digulla
  11.     Added SysBase as a define and to GfxBase
  12.  
  13.     Revision 1.1  1996/08/12 14:27:51  digulla
  14.     Base of graphics library
  15.  
  16.     Desc:
  17.     Lang:
  18. */
  19. #ifndef AROS_LIBCALL_H
  20. #   include <aros/libcall.h>
  21. #endif
  22. #ifndef EXEC_EXECBASE_H
  23. #   include <exec/execbase.h>
  24. #endif
  25. #ifndef GRAPHICS_GFXBASE_H
  26. #   include <graphics/gfxbase.h>
  27. #endif
  28. #ifndef GRAPHICS_RASTPORT_H
  29. #   include <graphics/rastport.h>
  30. #endif
  31.  
  32. extern struct GfxBase * GfxBase;
  33.  
  34. #ifdef SysBase
  35. #undef SysBase
  36. #endif
  37. #define SysBase ((struct ExecBase *)(GfxBase->ExecBase))
  38.  
  39. /* Needed for close() */
  40. #define expunge() \
  41. __AROS_LC0(BPTR, expunge, struct GfxBase *, GfxBase, 3, Gfx)
  42.  
  43. #endif /* GRAPHICS_INTERN_H */
  44.